package gamenetworktest;


public class Defender_Robot {
    private int posX, posY; // coordinates of the robot
    
    //constructor
    public Defender_Robot(int x, int y) {
        posX = x;
        posY = y;
    }
    
    // mutator for posX
    public void set_posX(int a) {
        posX = a;
    }

    // mutator for posY
    public void set_posY(int a) {
        posY = a;
    }

    // accessor for posX
    public int get_posX() {
        return posX;
    }

    // accessor for posY
    public int get_posY() {
        return posY;
    }
    
    public void move(int x, int y) {
        posX = x;
        posY = y;
    }
}
